<script>
import * as oimo from 'oimo'
import { OimoJSPlugin as Plugin } from '@babylonjs/core'
import AbstractPhysics from './AbstractPhysics.vue'

export default {
  name: 'OimoPhysics',
  mixins: [AbstractPhysics],

  methods: {
    getPhysicsPlugin() {
      return new Plugin(undefined, oimo)
    },
  },
}
</script>
